// $codepro.audit.disable com.instantiations.assist.eclipse.analysis.audit.rule.effectivejava.alwaysOverridetoString.alwaysOverrideToString
/**
 * Package Domain
 */
package teamrocket.domain; // $codepro.audit.disable packagePrefixNamingConvention

import java.util.logging.Level;

import teamrocket.logging.TLogger;





/**
 * Represents an injection in the system
 * @author Stephen
 *
 * @version 1.0
 */
public class Injection {
	
	/**
	 * Field dosage.
	 */
	private double dosage;
	
	/**
	 * Field Reactions.
	 */
	private String reactions;
	
	/**
	 * Constructs an injection class 
	 * @param dosage
	 * @param reactions
	 */
	public Injection(double dosage, String reactions) {
		this.dosage = dosage;
		this.reactions = reactions;
		TLogger.getInstance().getLogger().log(Level.INFO, "Creating Injection.");
	}
	
	/**
	 * Method getDosage.
	 * @return double
	 */
	public double getDosage() {
		return dosage;
	}
	
	/**
	 * Method setDosage.
	 * @param dosage double
	 */
	public void setDosage(double dosage) {
		this.dosage = dosage;
	}
	
	/**
	 * Method getReactions.
	 * @return String
	 */
	public String getReactions() {
		return reactions;
	}
	
	/**
	 * Method setReactions.
	 * @param reactions String
	 */
	public void setReactions(String reactions) {
		this.reactions = reactions;
	}
}
